home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Gamer (Italian) 24
/
PC Gamer IT CD 24 1-2.iso
/
PATCHES
/
ZNPATCH.EXE
/
ZNPatch
/
Addon
/
subpatch.zfs
/
am1f.scr
< prev
next >
Wrap
Text File
|
1997-06-04
|
12KB
|
269 lines
# THIS SCRIPT WAS GENERATED ON 04-03-1996 AT 23:09:50
world A # Asylum
room M # Anatomy Room
nodeview 1F # Nodeview 1F (481)
# SCRIPT VERSION: 24.12
puzzle:26999 { # AUTO-PRELOAD-OF-ANIMATION
results {
action:animpreload:27000(am1fa21c.avi 0 0 0 15)
action:animpreload:27001(am1ea21c.avi 0 0 0 15)
action:animpreload:27002(am1ea31c.avi 0 0 0 15)
action:animpreload:27003(am1fa31c.avi 0 0 0 15)
}
flags {
DO_ME_NOW
ONCE_PER_INST
}
}
# PUZZLES
puzzle:6111 { # AM1F-10_nav
criteria {
[6110] = 1 # AM1F-10
}
results {
action:assign(6110, 0) # AM1F-10
action:dissolve
event:change_location(A,M,10,362)
}
flags {
ONCE_PER_INST
}
}
puzzle:6113 { # AM1F-1G_nav
criteria {
[6112] = 1 # AM1F-1G
}
results {
action:assign(6112, 0) # AM1F-1G
action:dissolve
event:change_location(A,M,1G,0)
action:assign(218, 0)
action:assign(13, 0)
}
flags {
ONCE_PER_INST
}
}
puzzle:6115 { # AM1F - clickKeypadHandLadUp_puz
criteria {
[6090] = 0 # state of switch
[9] = 40
[6114] = 1 # AM1F-clickKeypad
}
results {
action:assign(6114, 0) # AM1F-clickKeypad
action:assign(5261, 1) # G_AM_doorOpen
action:assign(5265, 3) # G_AM1F_randSparky
action:assign(6696, 1) # AM1F - sparking_anim 1 2
action:assign(6699, 1) # AM1F - sparking_anim 2 2 (non dos)
action:inventory(drop 40)
action:disable_control(6114) # AM1F-clickKeypad
action:stop(7216)
action:syncsound(27003 0 am1fq1tc.raw 22050 16 1 0) #b
background:playpreload:6705(27003 0 0 511 319 0 45 1)
action:stop(7350)
}
flags {
ONCE_PER_INST
}
}
puzzle:6119 { # AM1F - sparking_anim 1 1
criteria {
[5265] = 1 # G_AM1F_randSparky
}
results {
action:assign(6119, 0) # AM1F - sparking_anim 1 1
action:assign(5265, 0) # G_AM1F_randSparky
background:playpreload:6695(27001 0 0 511 319 0 6 1)
}
flags {
ONCE_PER_INST
}
}
puzzle:6124 { # INITIAL AM1F - AutoSpark
criteria {
[5261] = 0 # G_AM_doorOpen
}
results {
action:assign(6124, 1) # INITIAL AM1F - AutoSpark
action:assign(7042, 1) # G_AM1F_sparkGoing
action:assign(5265, 2) # G_AM1F_randSparky
action:disable_control(6112) # AM1F-1G
action:enable_control(6114) # AM1F-clickKeypad
background:music:7216(0 am1fh1sc.raw 1)
action:set_screen(am1fb11c.tga)
}
flags {
ONCE_PER_INST
DO_ME_NOW
}
}
puzzle:6696 { # AM1F - sparking_anim 1 2
criteria {
[6695] = 2 # AM1E - sparkingEnd1
}
results {
action:assign(6695, 0) # AM1E - sparkingEnd1
action:assign(6696, 0) # AM1F - sparking_anim 1 2
action:random:5265(1)
action:add(5265,1)
}
flags {
ONCE_PER_INST
}
}
puzzle:6697 { # AM1F - sparking_anim 2 1
criteria {
[5265] = 2 # G_AM1F_randSparky
}
results {
action:assign(6697, 0) # AM1F - sparking_anim 2 1
action:assign(5265, 0) # G_AM1F_randSparky
background:playpreload:6698(27002 0 0 511 319 0 6 1)
}
flags {
ONCE_PER_INST
}
}
puzzle:6699 { # AM1F - sparking_anim 2 2 (non dos)
criteria {
[66] ! 2
[6698] = 2 # AM1E - sparkingEnd2
}
results {
action:assign(6698, 0) # AM1E - sparkingEnd2
action:assign(6699, 0) # AM1F - sparking_anim 2 2 (non dos)
action:random:5265(1)
action:add(5265,1)
}
flags {
ONCE_PER_INST
}
}
puzzle:6700 { # AM1F - clickKeypadHandLadDn_puz
criteria {
[6090] = 1 # state of switch
[9] = 40
[6114] = 1 # AM1F-clickKeypad
}
results {
action:assign(6114, 0) # AM1F-clickKeypad
action:assign(5261, 1) # G_AM_doorOpen
action:assign(5265, 3) # G_AM1F_randSparky
action:assign(6696, 1) # AM1F - sparking_anim 1 2
action:assign(6699, 1) # AM1F - sparking_anim 2 2 (non dos)
action:inventory(drop 40)
action:disable_control(6114) # AM1F-clickKeypad
action:stop(7216)
action:syncsound(27000 0 am1fq1tc.raw 22050 16 1 0) #b
background:playpreload:6702(27000 0 0 511 319 0 45 1)
action:stop(7350)
}
flags {
ONCE_PER_INST
}
}
puzzle:6704 { # AM1F - finishedRaisingDoor
criteria {
[6702] = 2 # AM1F - openDoor1
}
criteria {
[6705] = 2 # AM1F - openDoor2
}
results {
action:assign(6702, 0) # AM1F - openDoor1
action:assign(6705, 0) # AM1F - openDoor2
action:enable_control(6112) # AM1F-1G
}
flags {
ONCE_PER_INST
}
}
puzzle:6885 { # AM1F - clickKeypad_you die 1
criteria {
[9] ! 40
[6114] = 1 # AM1F-clickKeypad
}
results {
action:assign(6114, 0) # AM1F-clickKeypad
action:assign(6885, 0) # AM1F - clickKeypad_you die 1
action:assign(6696, 1) # AM1F - sparking_anim 1 2
action:assign(6699, 1) # AM1F - sparking_anim 2 2 (non dos)
action:assign(7495, 1) # G_AM1F_deathRouter
action:stop(7216)
action:stop(27001)
action:stop(27002)
background:timer:7294(2)
action:set_screen(am1fb11c.tga)
background:music:7445(0 am1fh2tc.raw 0)
}
flags {
ONCE_PER_INST
}
}
puzzle:7293 { # AM1F - clickKeypad_you die 2
criteria {
[7294] = 2 # AM1F - clickKeypad_you die 1_Timer
}
results {
action:assign(7293, 0) # AM1F - clickKeypad_you die 2
action:assign(159, 15)
action:assign(7294, 0) # AM1F - clickKeypad_you die 1_Timer
action:dissolve
event:change_location(G,J,DE,0)
}
flags {
ONCE_PER_INST
}
}
puzzle:7496 { # AM1F - doRegionEffect
criteria {
[66] ! 2
[7495] = 1 # G_AM1F_deathRouter
}
results {
action:assign(7495, 0) # G_AM1F_deathRouter
action:assign(7496, 0) # AM1F - doRegionEffect
background:region:7497(useart[69,132,12] 0 0 511 319 50 1 0 39 40)
}
flags {
ONCE_PER_INST
}
}
puzzle:7498 { # AM1F - sparking_anim 2 2 (dos)
criteria {
[66] = 2
[6698] = 2 # AM1E - sparkingEnd2
}
results {
action:assign(6698, 0) # AM1E - sparkingEnd2
action:assign(5265, 2) # G_AM1F_randSparky
action:assign(7498, 0) # AM1F - sparking_anim 2 2 (dos)
}
flags {
ONCE_PER_INST
}
}
# CONTROLS
control:6110 push_toggle { # AM1F-10
flat_hotspot(0,265,511,54)
cursor(backward)
}
control:6112 push_toggle { # AM1F-1G
flat_hotspot(369,0,142,264)
cursor(forward)
venus_id(219)
}
control:6114 push_toggle { # AM1F-clickKeypad
flat_hotspot(199,103,127,122)
cursor(handpu)
venus_id(218)
}
# state 7495 has been reserved as a global variable (G_AM1F_deathRouter)
# AUTO-BACKWARDS PUZZLES AND CONTROLS
control:25500 flat {
}